package com.qf.mapper;

import com.qf.entity.DeptVo;
import com.qf.entity.Emp;
import com.qf.entity.EmpVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * --- 天道酬勤 ---
 *
 * @author GUOFUCHENG
 * @date 2025/8/8
 * @desc
 */
public interface EmpMapper {

    Emp findByEmpo(int empo);


    List<Emp> findAll(Emp emp);


    Emp findByNameAndEmpno(@Param("ename") String ename,@Param("empno") int empno);

    List<Emp> findMap(Map<String, String> map);

    int addEmp(Emp emp);

    int updateEmp(Emp emp1);

    int deleteEmp(int empno);


    EmpVo sreach(int empno);

    DeptVo findInfo(int deptno);
}
